import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
const workLog: AppRouteModule = {
  path: '/workLog',
  name: 'WorkLog',
  component: LAYOUT,
  redirect: '/workLog/diary',
  meta: {
    orderNo: 15,
    icon: 'ant-design:setting-twotone',
    title: '日志管理',
  },
  children: [
    {
      path: 'diary',
      name: 'DiaryPage',
      component: () => import('/@/views/backs/workLog/diary/index.vue'),
      meta: {
        // affix: true,
        title: '我的日志',
      },
    },
    {
      path: 'logList',
      name: 'LogListPage',
      component: () => import('/@/views/backs/workLog/logList/index.vue'),
      meta: {
        // affix: true,
        title: '日志列表',
      },
    },
  ],
};

export default workLog;
